package cn.itsource.crm.domain;

import cn.itsource.basic.domain.BaseDomain;

import java.math.BigDecimal;

public class Settlement extends BaseDomain{
    //客户
    private Customer customer;
    //维修公单
    private Order order;
    //支付状态  0未支付 1已支付
    private Integer pay_status =0;
    //是否通知 0未通知  1已通知
    private Integer message_status =0;
    //是否取车 0未取车  1已取车
    private Integer finish_status =0;
    //价格
    private BigDecimal price;
    //支付方式
    private DictInfo dictInfo;
    //结算人员
    private Employee employee;

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    public Integer getPay_status() {
        return pay_status;
    }

    public void setPay_status(Integer pay_status) {
        this.pay_status = pay_status;
    }

    public Integer getMessage_status() {
        return message_status;
    }

    public void setMessage_status(Integer message_status) {
        this.message_status = message_status;
    }

    public Integer getFinish_status() {
        return finish_status;
    }

    public void setFinish_status(Integer finish_status) {
        this.finish_status = finish_status;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public DictInfo getDictInfo() {
        return dictInfo;
    }

    public void setDictInfo(DictInfo dictInfo) {
        this.dictInfo = dictInfo;
    }

    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    public Employee getEmployee() {
        return employee;
    }

    public void setEmployee(Employee employee) {
        this.employee = employee;
    }

    @Override
    public String toString() {
        return "Settlement{" +
                "customer=" + customer +
                ", oder=" + order +
                ", pay_status=" + pay_status +
                ", message_status=" + message_status +
                ", finish_status=" + finish_status +
                ", price=" + price +
                ", dictInfo=" + dictInfo +
                ", id=" + id +
                '}';
    }
}
